package com.example.orderminiappapi.dao;

import com.example.orderminiappapi.bean.AddOrUpdate;
import com.example.orderminiappapi.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserRemarksDao {
    List<String> findAllUsersRemarks(User user);

    int addRemarks(AddOrUpdate addOrUpdate);            // 添加备注信息

    int updateRemarks(AddOrUpdate addOrUpdate);         // 修改备注信息

    int deleteRemarks(AddOrUpdate addOrUpdate);         // 删除备注信息

    int changeCommonRemarks1(AddOrUpdate addOrUpdate);  // 设置默认备注信息

    int changeCommonRemarks2(AddOrUpdate addOrUpdate);  // 设置默认备注信息
}
